home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
autofx
/
eot_straw.ifx.pre
< prev
next >
Wrap
Text File
|
2004-08-03
|
1KB
|
54 lines
/*
* $VER: EOT_Straw.ifx.pre 2.6 (24.04.96)
* Copyright © 1992-1996 Nova Design, Inc.
*
* Written by Ola Eric Olsson
*
*/
OPTIONS RESULTS
base = 'autofx_straw_'
linesize = GETCLIP(base||'size')
density = GETCLIP(base||'density')
min = GETCLIP(base||'minangle')
max = GETCLIP(base||'maxangle')
IF linesize = "" THEN linesize = 15
IF density = "" THEN density = 3
IF min = "" THEN min = 0
IF max = "" THEN max = 359
/******************************************************************/
/** File requester with gadgets. **/
/******************************************************************/
title = '"EOT_straw"'
text1 = '"Final LineSize:"'
text2 = '"Density:"'
text3 = '"Minimum Angle:"'
text4 = '"Maximum Angle:"'
gad.1 = 'SLIDER LE=130 TE=10 WD=150 HT=15 LB='text1' IN='linesize' LO=2 HI=100 LV=%-3ld'
gad.2 = 'SLIDER LE=130 TE=30 WD=150 HT=15 LB='text2' IN='density' LO=2 HI=100 LV=%-3ld'
gad.3 = 'SLIDER LE=130 TE=50 WD=150 HT=15 LB='text3' IN='min' LO=0 HI=359 LV=%-3ld'
gad.4 = 'SLIDER LE=130 TE=70 WD=150 HT=15 LB='text4' IN='max' LO=0 HI=359 LV=%-3ld'
gad.5 = 'END'
newcomplexrequest title gad 340 100
IF rc ~= 0 THEN EXIT rc
linesize = RESULT.1
density = RESULT.2
min = RESULT.3
max = RESULT.4
CALL SETCLIP(base||'size', linesize)
CALL SETCLIP(base||'density', density)
CALL SETCLIP(base||'minangle', min)
CALL SETCLIP(base||'maxangle', max)
EXIT